package com.fjp.heartguard.viewmodel

import androidx.lifecycle.MutableLiveData
import com.fjp.heartguard.app.base.HTBaseViewModel
import com.fjp.heartguard.app.data.bean.OverdueOlder
import com.fjp.heartguard.app.network.HttpRequestCoroutine
import me.hgj.jetpackmvvm.ext.request
import me.hgj.jetpackmvvm.state.ResultState

/**
 *Author:Mr'x
 *Time:2025/2/7
 *Description:
 */
class AssessmentTimeoutDetailViewModel : HTBaseViewModel() {
    var overdueOlders = MutableLiveData<ResultState<Array<OverdueOlder>>>()

    fun getOverdueOlders() {
        request({
            HttpRequestCoroutine.getOverdueOlders()
        }, overdueOlders, false)

    }

}